package com.azt.api.pojo;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by LiQZ on 2017/3/14.
 */
public class MemberApplyReq {

    /**
     * 申请用户（没有可为空）
     */
    private Integer userId;

    /**
     * 公司名称
     */
    @NotBlank(message = "请填写公司名称")
    private String companyName;

    /**
     * 联系人
     */
    @NotBlank(message = "请填写联系人姓名")
    private String contacts;

    /**
     * 联系电话
     */
    @NotBlank(message = "请填写联系人电话")
    @Length(max = 25, message = "联系电话输入过长")
    private String tel;

    /**
     * 经营品牌
     */
    @NotBlank(message = "请填写经营品牌")
    private String brands;

    /**
     * 合作意向
     */
    @NotBlank(message = "请填写合作意向")
    private String coopIntention;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getBrands() {
        return brands;
    }

    public void setBrands(String brands) {
        this.brands = brands;
    }

    public String getCoopIntention() {
        return coopIntention;
    }

    public void setCoopIntention(String coopIntention) {
        this.coopIntention = coopIntention;
    }
}
